import VueSocket from 'vue-socket.io';
import socketio from 'socket.io-client';
import { server } from './config';

const socket: VueSocket = new VueSocket({
  debug: false,
  connection: `${server.url}:${server.port}`,
});

export default socket;

// Vue.use(VueSocket, socketio(`${server.url}:${server.port}`));
